﻿using TimetableCSP.Scheduler.Entities;

namespace TimetableCSP.Scheduler
{
	/// <summary>
	/// Represents a conflict in a constraint satisfaction problem.
	/// </summary>
	public class Conflict
	{
		/// <summary>
		/// The variable causing the conflict(s).
		/// </summary>
		public AbstractVariable Variable;

		/// <summary>
		/// The attributes that must/can be modified to resolve the conflict(s).
		/// </summary>
		public string[] Attributes;

		/// <summary>
		/// The total number of constraints violated.
		/// </summary>
		public int ConflictCount;
	}
}
